package Thread;
// 基于CAS实现自旋锁
public class SpinLock {
    private Thread owner=null;
    private void  lock(){

    }
    public void unlock(){
        this.owner=null;
    }
}
